Fix bug #17790 with compilation against giflib 5.1.0 and later.
authorEli Zaretskii <eliz@gnu.org>
Wed, 18 Jun 2014 15:15:52 +0000 (18:15 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 18 Jun 2014 15:15:52 +0000 (18:15 +0300)
commit51d5a070bc1fcf5ae5e805ab2c8c59e72d2533b4
treedf51f883624c0c90f65502aca11ff05caa7de03c
parent103510ca44009cfde3bc5329e8cfeb2976c8c074
Fix bug #17790 with compilation against giflib 5.1.0 and later.

 src/image.c [5 < GIFLIB_MAJOR + (1 <= GIFLIB_MINOR)]: Declare the
 prototype of DGifCloseFile as appropriate for older and newer
 versions of giflib.
 (gif_close): New function, encapsulates the differences in the
 calling sequence of DGifCloseFile before v5.1.0 and after it.
 (gif_load): Call gif_close instead of DGifCloseFile.  Divulge the
 error string where appropriate.

 lisp/term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
 and later.
lisp/ChangeLog
lisp/term/w32-win.el
src/ChangeLog
src/image.c